package BehaviorModel.observerModel;

/**
 * 功能描述: 气象网
 * 2024/02/20
 * <p>
 * ZhangYi
 */
public class MeteorologicalNetwork implements Observer {
    @Override
    public void update(WeatherData weatherData) {
        System.out.println(String.format(" 气象网读取到的天气数据为 %s ",
                                         weatherData.toString()));
    }
}
